from self_factory import Data2Index
from self_factory import DictionaryMap


class Data_process(Data2Index, DictionaryMap):

    @staticmethod
    def writetxt(filename, line):
        with open(filename, 'a', encoding='utf-8') as w:
            w.write(line)